#pragma once
#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "dxguid.lib")

#define DIRECTINPUT_VERSION 0x0800

#include <dinput.h>
#include <DirectXMath.h>

class Input
{
public:
	void Initialize(HWND WindowHandle, HINSTANCE hInstance);
	void Update();
	void Shutdown();
	bool KeyDown(int Key);
	DirectX::XMFLOAT2 MouseMove();

private:
	IDirectInputDevice8* KeyBoard;
	IDirectInputDevice8* Mouse;
	IDirectInput8* DirectInput;
	unsigned char KeyboardState[256];
	DIMOUSESTATE MouseState;
};